package com.heima.apis.user;

import com.heima.model.user.pojos.ApUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient(value = "leadnews-user")
public interface SelectUser {
    @GetMapping("/api/selectuser/{id}")
     ApUser selectuser(@PathVariable("id") Integer id);

    @GetMapping("/user/select/{id}")
    ApUser selectUser(@PathVariable("id") Integer id);
}
